submenu $"Bootloading over network (press F4)" --hotkey 'f4' --id 'network' {
	submenu $"Install over network" {
		menuentry $"Server NFS" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:nfs ip=dhcp stagename=altinst @bootargs@ lang=$lang lowmem
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server FTP" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:ftp ip=dhcp stagename=altinst @bootargs@ lang=$lang
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server HTTP" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:http ip=dhcp stagename=altinst @bootargs@ lang=$lang
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server SAMBA" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:cifs ip=dhcp stagename=altinst @bootargs@ lang=$lang lowmem
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
	}
	submenu $"Live over network" {
		menuentry $"Server NFS" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:nfs ip=dhcp stagename=live @bootargs@ lang=$lang lowmem
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server FTP" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:ftp ip=dhcp stagename=live @bootargs@ lang=$lang
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server HTTP" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:http ip=dhcp stagename=live @bootargs@ lang=$lang
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server SAMBA" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:cifs ip=dhcp stagename=live @bootargs@ lang=$lang lowmem
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
	}
	submenu $"Install Live over network" {
		menuentry $"Server NFS" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:nfs ip=dhcp stagename=live init=/usr/sbin/install2-init @bootargs@ lang=$lang lowmem
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server FTP" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:ftp ip=dhcp stagename=live init=/usr/sbin/install2-init @bootargs@ lang=$lang
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server HTTP" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:http ip=dhcp stagename=live init=/usr/sbin/install2-init @bootargs@ lang=$lang
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server SAMBA" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:cifs ip=dhcp stagename=live init=/usr/sbin/install2-init @bootargs@ lang=$lang lowmem
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
	}
	submenu $"Rescue over network" {
		menuentry $"Server NFS" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:nfs ip=dhcp stagename=rescue @bootargs@ lowmem
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server FTP" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:ftp ip=dhcp stagename=rescue @bootargs@
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server HTTP" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:http ip=dhcp stagename=rescue @bootargs@
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
		menuentry $"Server SAMBA" {
			echo $"Loading Linux vmlinuz$KFLAVOUR ..."
			linux /boot/vmlinuz$KFLAVOUR @initrd_typeargs@=method:cifs ip=dhcp stagename=rescue @bootargs@ lowmem
			echo $"Loading initial ramdisk ..."
			initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
		}
	}
}
